.header-layout6 .container {
  max-width: 100%;
  padding-left: 2%;
  padding-right: 2%;
}
.breadcumb-wrapper {
  background-color: #762d2d;
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.breadcumb-wrapper:before {
  background: linear-gradient(0deg, rgba(3, 6, 14, 0.8), rgb(118 45 45));
  opacity: 0.9;
}
.breadcumb-wrapper {
  background: url(/User/assets/Media/caligraphy.webp);
}
.box-title {
  font-size: 18px;
  margin-bottom: 15px !important;
}

a.th-btn.border-btn {
  padding: 15px;
}
.sh-cart-icon {
  transform: translateX(0px) !important;
}
.start-learning-btn {
  background-color: #762d2d;
  color: #fff;
  border: none;
  padding: 8px 18px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.start-learning-btn:hover {
  background-color: #5e1f1f;
  transform: translateY(-2px);
}
.footer-logo img {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 0px 20px #424242;
}
.main-menu ul li:has(.sub-menu) > a.dropdown:after {
  transform: rotate(270deg);
}
a.dropdown.mob {
  font-size: 12px;
}
a.dropdown.mob::after {
  display: none !important;
}
.th-mobile-menu ul .th-item-has-children > a.dropdown .th-mean-expand {
  top: 60%;
  font-size: 8px;
  width: 20px;
  height: 20px;
  line-height: 20px;
}
li.courses-mob-dropdowns ul li a {
  font-size: 12px;
}
.blog-wrapper {
    margin: 0px !important;
    padding: 0px 20px 20px;
}
.blog-box.style2 .date{
    scale: 0.6;
    top: -17px;
    left: -21px;
}
.blog-content {
    margin-top: -30px;
}
.title-area.text-center {
    margin-bottom: 15px;
}

:root {
  --primary-color: #762d2d;
  --text-color-dark: #000;
  --text-color-light: #fff;
}

/* Overlay */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1040;
}

/* Drawer styles */
.filter-drawer {
  position: fixed;
  top: 0;
  left: -450px; /* off screen initially */
  width: 450px;
  height: 100%;
  background-color: white;
  box-shadow: -3px 0 8px rgba(0,0,0,0.2);
  transition: left 0.3s ease;
  z-index: 1045;
  display: flex;
  flex-direction: column;
}

.filter-drawer-header {
  padding: 15px 20px;
  background: var(--primary-color);
  color: var(--text-color-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.filter-drawer-header .drawer-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
}

.filter-drawer-body {
  padding: 20px;
  overflow-y: auto;
  flex-grow: 1;
}

.btn-filter-by-category {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
}

.btn-filter-by-category:hover {
  background-color: #5c221f;
  color: var(--text-color-light);
}

@media (max-width: 768px) {
  .filter-drawer {
    width: 300px;
  }
}
button#closeDrawerBtn {
    padding: 0px;
    width: auto;
    height: auto;
    opacity: 1;
    color: #000 !important;
    background: #fff;
    padding: 0px 10px;
}
/* Search */
#filterSearch {
  border-radius: 20px 0 0 20px;
  border: 1px solid #ddd;
  padding: 8px 12px;
}
.btn-search {
  border-radius: 0 20px 20px 0;
  background: #762d2d;
  color: #fff;
  border: none;
  padding: 8px 16px;
}

.btn-search:hover{
  color: #fff;
}

.filter-categories li {
  cursor: pointer;
  font-size: 14px;
  position: relative;
}

.filter-categories li:hover {
  background-color: #f9f9f9;
}

/* Arrow Icon */
span.arrow {
  font-family: "Font Awesome 5 Free"; /* Make sure FA is loaded */
  font-weight: 900;
  float: inline-end;
  transition: transform 0.3s ease;
}

ul.category-list{
    list-style: none;
    padding-left: 0px;
}

/* Accordion transition */
.category-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.category-list.show {
  max-height: 500px; /* Large enough to fit items */
}



@media screen and (max-width: 1399px) and (min-width: 1200px) {
  header.th-header.header-layout6 .container {
    max-width: 100%;
    padding: 0 1% !important;
  }
  .header-layout6 .main-menu > ul > li {
    margin: 0 5px !important;
  }
  .start-learning-btn {
    padding: 5px 12px;
    font-size: 12px;
  }
  .header-layout6 .main-menu > ul > li > a {
      font-size: 14px;
  }
  li.sh-link-item {
      font-size: 14px;
  }
  .sh-cart-icon {
      font-size: 20px;
  }
  .sh-cart-badge {
      top: -8px;
      right: -5px;
      font-size: 9px;
      padding: 2px 5px 0px 4px;
      width: 14px;
      height: 14px;
  }
  .blog-box.style2 .box-title {
      font-size: 14px;
      margin-bottom: 10px !important;
  }
  a.th-btn.border-btn {
        padding: 10px !important;
        font-size: 10px !important;
        min-width: 100px;
  }
}
@media screen and (max-width: 1199px) and (min-width: 992px) {
    .header-layout6 .main-menu > ul > li > a {
        padding: 0px 0;
        font-size: 14px;
    }
    .header-layout6 .main-menu > ul > li {
        margin: 0 5px;
    }
    header .menu-area> .container> .row> div:nth-child(1) {
        width: 45.5%;
    }
    header .menu-area> .container> .row> div:nth-child(2) {
        width: 24.5%;
        display: flex;
    }
    .header-logo.logo-shape1.justify-content-center a img {
        width: 115px !important;
    }
    header .menu-area> .container> .row> div:nth-child(3) {
        width: 30%;
    }
    .blog-wrapper {
        padding: 0px 10px 20px;
    }
    .blog-content {
        margin-top: -45px;
    }
    .box-title {
        font-size: 13px;
        margin-bottom: 10px !important;
    }
    a.th-btn.border-btn {
        padding: 7px;
        font-size: 12px;
        min-width: 90px;
    }
    .blog-box.style2 .date {
        scale: 0.5;
        top: -21px;
        left: -27px;
    }
}
@media screen and (max-width:991px) and (min-width:768px){
     .header-layout6 .th-menu-toggle {
          margin: 0px;
          height: 48px;
          width: 48px;
      }
      .header-logo.logo-shape1.justify-content-center a img {
        width: 115px !important;
    }

}
@media (min-width: 849px) {
  .header-main-row {
    align-items: baseline !important;
    max-height: 60px;
    padding-top: 6px;
  }
}
@media (max-width: 767px) {
  .header-logo.logo-shape1.justify-content-center a img {
        width: 115px !important;
   }
   .header-logo.logo-shape1 a {
        margin-top: 0px;
        margin-bottom: 10px;
   }
  .header-layout6 .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  .sjz-start-learning {
    display: none !important;
  }
  img.footer-logo {
    margin-top: -20% !important;
  }
  .box-title {
    font-size: 15px;
  }
  a.th-btn.border-btn {
      padding: 7px !important;
      font-size: 12px;
      min-width: 90px;
  }
}

@media screen and (max-width:350px){ 
    .blog-box.style2 .box-title {
        font-size: 12px;
        margin-bottom: 8px !important;
    }
    .blog-wrapper {
        margin: 0px !important;
        padding: 0px 10px 10px;
    }
    a.th-btn.border-btn {
        padding: 5px !important;
        font-size: 10px !important;
        min-width: 80px;
    }
}

